package com.niguang.work.show.sms.service;

import com.niguang.work.show.common.pojo.Result;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;

public interface SmsService {
    Result sendSms(@NotNull @RequestParam String userPhone);

    String getSmsCode(String userPhone);
}
